﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000EF RID: 239
	internal class ReadNextFixStr : IReadNextDecoder
	{
		// Token: 0x0600036C RID: 876 RVA: 0x0000C7AA File Offset: 0x0000ABAA
		private ReadNextFixStr()
		{
		}

		// Token: 0x0600036D RID: 877 RVA: 0x0000C7B4 File Offset: 0x0000ABB4
		public int Read(byte[] bytes, int offset)
		{
			int num = (int)(bytes[offset] & 31);
			return num + 1;
		}

		// Token: 0x04000108 RID: 264
		internal static readonly IReadNextDecoder Instance = new ReadNextFixStr();
	}
}
